const baseUrl = 'https://api.gold404.cn/api/taoke';
export const myRequest = (url,params={},method='GET')=>{
	return new Promise((resolve,reject)=>{
		uni.request({
			url:baseUrl + url,
			method:method,
			data: params,
			success: (res) => {
				resolve(res.data)
			},fail: (err) => {
				reject(err)
			}
		})
	})
}